package com.nari.ncps.screen.dto.excelimport.coal;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 运行检测设备故障信息表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Data
@ExcelTarget("CoalOpermonEquipFaultExcel")
public class CoalOpermonEquipFaultDto1 implements Serializable {

    private static final long serialVersionUID = 1L;

    // 【关键】忽略第一列（"开启"列）
    // 这个字段用于接收合并列的数据，但会被忽略
//    @ExcelIgnore
//    private String ignoredColumn;


    @Excel(name = "年", orderNum = "0", width = 15)
    private Integer year;

    @Excel(name = "月", orderNum = "1", width = 15)
    private Integer month;

    @Excel(name = "年月日期", orderNum = "2", width = 20,
            importFormat = "yyyy-MM", exportFormat = "yyyy-MM")
    private Date date;

    @Excel(name = "年月类型", orderNum = "3", width = 15)
    private Integer dateType;

    @Excel(name = "年计划完成情况", orderNum = "4", width = 20)
    private BigDecimal yearPlanCompletion;

    @Excel(name = "年当前完成情况", orderNum = "5", width = 20)
    private BigDecimal yearCurrentCompletion;

    @Excel(name = "年当前完成率", orderNum = "6", width = 20)
    private BigDecimal yearCompletionRate;

    @Excel(name = "年同比完成率", orderNum = "7", width = 20)
    private BigDecimal yearYoYRate;

    @Excel(name = "月计划完成量", orderNum = "8", width = 20)
    private BigDecimal monthPlanCompletion;

    @Excel(name = "月当前完成情况", orderNum = "9", width = 20)
    private BigDecimal monthCurrentCompletion;

    @Excel(name = "月同比完成率", orderNum = "10", width = 20)
    private BigDecimal monthYoYRate;

    @Excel(name = "单位名称", orderNum = "11", width = 20)
    private String unitName;

    @Excel(name = "单位编码", orderNum = "12", width = 20)
    private String unitCode;


}
